<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<%@ include file="../general/header.jsp" %>
		<script type="text/javascript">$($.date_input.initialize);</script>
		<h3>${title}</h3>
		<div class="featurebox_center">
			<form:form method="POST" class="form" action="${action}" commandName="userForm">
				<div class="form-field">
					<label>DNI: </label>
					<form:input class="required valid" type="text" path="docNumber" />
					<div class="error"><form:errors path="docNumber" /></div>
					<div class="clear"></div>
				</div>
				<div class="form-field">
					<label>Contrase&ntilde;a: </label>
					<form:input class="required valid" type="password" path="password" />
					<div class="error"><form:errors path="password" /></div>
					<div class="clear"></div>
				</div>
				
				<div class="form-field">
					<label>Confirmar contrase&ntilde;a: </label>
					<form:input class="required valid" type="password" path="password2" />
					<div class="error"><form:errors path="password2" /></div>
					<div class="clear"></div>
				</div>
				
				<div class="form-field">
					<label>Nombre: </label>
					<form:input class="required valid" type="text" path="name" />
					<div class="error"><form:errors path="name" /></div>
					<div class="clear"></div>
				</div>
				
				<div class="form-field">
					<label>Apellido: </label>
					<form:input class="required valid" type="text" path="lastName" />
					<div class="error"><form:errors path="lastName" /></div>
					<div class="clear"></div>
				</div>
	
				<div class="form-field">
					<label>E-mail: </label>
					<form:input class="required valid" type="text" path="email" />
					<div class="error"><form:errors path="email" /></div>
					<div class="clear"></div>
				</div>
				
				<input class="boton" type="submit" value="Guardar" />
			</form:form>
		</div>
	<%@ include file="../general/footer.jsp" %>